<template>
  <div>
    <ModalRender
      :modalObj="modalObj"
      @setModalObj="e => modalObj = e"
      @close="emit('setIsShow', false)"
      @cancel="emit('setIsShow', false)"
      @confirm="() => {emit('addUrl', url);emit('setIsShow', false)}"
    >
      <div class="f ac pt30 pb30 pl30">
        <div class="pr5">网址：</div>
        <div class="f1">
          <el-input v-model="url" style="width: 300px" placeholder="请输入" />
        </div>
      </div>
    </ModalRender>
  </div>
</template>
<script>
import f from "./index.js"
export default {
  components: {},
  props: {
    isShow: { type: Boolean, default: false },
  },
  emits: ['setIsShow', 'addUrl'],
  setup(props, { emit }) {
    return f(props, emit)
  }
}
</script>
<style scoped></style>